Conversation
- Add max-width constraint (1296px) to main content wrapper - Update dashboard page (add flex-1 wrappers for balanced layout) - Replace fixed widths with max/min-width pattern across components for flexible scaling
- Update Sidebar from fixed to relative positioning on desktop (lg breakpoint) - Adjust layout to h-screen with overflow-hidden for proper sidebar integration - Add independent scrolling to MainContent area - Hide overlay on desktop and adjust tablet padding for sidebar spacing
…o fix/317-sidebar
…o fix/317-sidebar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 스토리북 링크 (Storybook Link)
🔗 관련 이슈 번호 (Related Issue Number)
✨ PR 세부 내용 (PR Details)
작업 개요
**- 사이드바 동작에 의해 대시보드 콘텐츠 밀리는 버그 해결
주요 변경사항
h-screen + overflow-hidden으로 페이지 전체 스크롤 방지fixed오버레이 패널 + 배경 딤(bg-black/20), 클릭 닫기relative포지셔닝으로 레이아웃에 통합, 오버레이 제거md:pl-93으로 겹침 방지document.body.style.overflow = 'hidden'적용justify-between으로 버튼 우측 정렬.x-auto로 sm/md 중앙 정렬,lg:mx-0로 해제하여 그리드 호환기술적 구현 사항
min-h-screen+ 페이지 전체 스크롤h-screen+ 고정 높이, 컨텐츠 영역만 스크롤h-full적용mx-auto+lg:mx-0를 사용해 sm/md는 중앙, lg는 레이아웃 그리드 우선을 보장.max-w-1296을 적용하고, md 레일 폭만큼md:pl-93으로 겹침 방지fixed inset-0+ 투명도 트랜지션, 패널은fixed로 트랜지션 처리lg:hidden으로 오버레이 완전 제거flex-1 overflow-y-auto, 하단 CTA는sticky bottom-0질문
📸 참고할 스크린샷/영상 (Screenshots/Videos)
mobile
tablet
pc